package cn.cqie.attendance.student.domian;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: xiehaodong
 * @Date: 2021/7/8 - 17:49
 * @Description: cn.cqie.attendance.student.domian
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryLeaves implements Serializable {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private int leaveStatus;
    private int leaveReason;
    private String leaveTheme;
    private Long stuId;
    private Integer pageSize;
    private Integer pageCurrent;
    private Integer startPage;
    private Integer endPage;
}
